package com.platform.car.model;

import java.util.Date;

/**
 * 停车场车位表
 */
public class Parkinglot {

    /**
     * 车位唯一标识 id
     */
    private Integer id;

    /**
     * 所属停车场id
     */
    private Integer parkingId;

    /**
     * 车位编号
     */
    private String number;

    /**
     * 车位属性：
     * 1：有地锁车位  2：无地锁车位
     */
    private String switchLock;

    /**
     * 所属地锁id
     */
    private Integer lockId;

    /**
     * 车位状态：
     * 0：预定 1：未预定 2：使用中 3：未使用
     */
    private String switchStatus;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 所属分区id
     */
        private Integer zoneId;

    /**
     * 位置x坐标
     */
    private Double zonex;

    /**
     * 位置y坐标
     */
    private Double zoney;

    /**
     * 备注
     */
    private String intro;

    private String parkingName;

    private String lockNumber;

    private String parkingZoneName;

    private String parkingZoneFloor;

    private String lockStatus;

    private Parking parking;

    private ParkingZone parkingZone;

    private Lock lock;

    private String search;

    /**
     * 组织的ID
     */
    private Integer orgId;

    /**
     * 停车场分区图片的路径
     */
    private String parkingImg;

    /**
     * 停车场的免费时长
     */
    private Integer charging;

    public Parkinglot() {}

    public Parkinglot(Integer parkingId, String switchLock, String switchStatus) {
        this.parkingId = parkingId;
        this.switchLock = switchLock;
        this.switchStatus = switchStatus;
    }

    public Parkinglot(Integer parkingId, String switchStatus) {
        this.parkingId = parkingId;
        this.switchStatus = switchStatus;
    }

    public Parkinglot(Integer id, Integer parkingId, String number, String switchLock, Integer lockId, String switchStatus, Date createTime, Integer zoneId, Double zonex, Double zoney, String intro) {
        this.id = id;
        this.parkingId = parkingId;
        this.number = number;
        this.switchLock = switchLock;
        this.lockId = lockId;
        this.switchStatus = switchStatus;
        this.createTime = createTime;
        this.zoneId = zoneId;
        this.zonex = zonex;
        this.zoney = zoney;
        this.intro = intro;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParkingId() {
        return parkingId;
    }

    public void setParkingId(Integer parkingId) {
        this.parkingId = parkingId;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getSwitchLock() {
        return switchLock;
    }

    public void setSwitchLock(String switchLock) {
        this.switchLock = switchLock;
    }

    public Integer getLockId() {
        return lockId;
    }

    public void setLockId(Integer lockId) {
        this.lockId = lockId;
    }

    public String getSwitchStatus() {
        return switchStatus;
    }

    public void setSwitchStatus(String switchStatus) {
        this.switchStatus = switchStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getZoneId() {
        return zoneId;
    }

    public void setZoneId(Integer zoneId) {
        this.zoneId = zoneId;
    }

    public Double getZonex() {
        return zonex;
    }

    public void setZonex(Double zonex) {
        this.zonex = zonex;
    }

    public Double getZoney() {
        return zoney;
    }

    public void setZoney(Double zoney) {
        this.zoney = zoney;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getParkingName() {
        return parkingName;
    }

    public void setParkingName(String parkingName) {
        this.parkingName = parkingName;
    }

    public String getLockNumber() {
        return lockNumber;
    }

    public void setLockNumber(String lockNumber) {
        this.lockNumber = lockNumber;
    }

    public String getParkingZoneName() {
        return parkingZoneName;
    }

    public void setParkingZoneName(String parkingZoneName) {
        this.parkingZoneName = parkingZoneName;
    }

    public String getParkingZoneFloor() {
        return parkingZoneFloor;
    }

    public void setParkingZoneFloor(String parkingZoneFloor) {
        this.parkingZoneFloor = parkingZoneFloor;
    }

    public String getLockStatus() {
        return lockStatus;
    }

    public void setLockStatus(String lockStatus) {
        this.lockStatus = lockStatus;
    }

    public Parking getParking() {
        return parking;
    }

    public void setParking(Parking parking) {
        this.parking = parking;
    }

    public ParkingZone getParkingZone() {
        return parkingZone;
    }

    public void setParkingZone(ParkingZone parkingZone) {
        this.parkingZone = parkingZone;
    }

    public Lock getLock() {
        return lock;
    }

    public void setLock(Lock lock) {
        this.lock = lock;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }

    public String getParkingImg() {
        return parkingImg;
    }

    public void setParkingImg(String parkingImg) {
        this.parkingImg = parkingImg;
    }

    public Integer getCharging() {
        return charging;
    }

    public void setCharging(Integer charging) {
        this.charging = charging;
    }
}